<template>
    <div @click="fn">
        <a :href="text" @click.prevent.stop="fn1">你所热爱的都在这里</a>
    </div>
</template>
<script>
export default{
    name:'text-three',
    data(){
        return{
            text:'http://www.bilibili.com'
        }
    },
    methods:{
        fn(){
            console.log('div.dianji');
        },
        fn1(e){}
    }
}
</script>